﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SafeEducateView.aspx.cs"
    Inherits="TrafficArchives.SafeEducate.SafeEducateView" %>

<%@ Register TagPrefix="custom" TagName="Pager" Src="~/Controls/Pager.ascx" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/Page.css" rel="stylesheet" type="text/css" />
    <link href="../css/GamerGridView.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2" bgcolor="#acd1eb"
        style="font-size: 12px;">
        <tr>
            <td valign="top" bgcolor="#FFFFFF">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr style="background: url(../images/bt_bg.gif)">
                                    <td width="12">
                                        <img src="../images/bt_left.gif" width="12" height="28">
                                    </td>
                                    <td width="42" align="center">
                                        <img src="../images/bt_title.gif">
                                    </td>
                                    <td style="font-size: 12px;">
                                        <span class="style3">您当前的位置：</span>安全教育查询
                                    </td>
                                    <td width="51" id="sy">
                                        <a href="../Reports/ArchivesOverview.aspx">首页</a>
                                    </td>
                                    <td width="12">
                                        <img src="../images/bt_right.gif" width="12" height="28">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <!--查询begin-->
                            <asp:UpdatePanel ID="UpdatePanelCondition" UpdateMode="Conditional" runat="server">
                                <ContentTemplate>
                                    <table width="95%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
                                        <tr bgcolor="#FFFFFF">
                                            <td width="15%" height="25" align="right" bgcolor="#E4F1FD" class="style4">
                                                身份证明号码：
                                            </td>
                                            <td width="15%">
                                                <input type="text" size="18" />
                                            </td>
                                            <td width="8%" align="right" bgcolor="#E4F1FD">
                                                <span class="style4">档案编号：</span>
                                            </td>
                                            <td width="15%" align="left">
                                                <input type="text" size="18" />
                                            </td>
                                            <td width="10%" height="25" align="right" bgcolor="#E4F1FD">
                                                <span class="style4">培训单位：</span>
                                            </td>
                                            <td width="15%">
                                                <select name="select3" id="select">
                                                    <option>-选择-</option>
                                                </select>
                                            </td>
                                            <td width="10%" align="right" bgcolor="#E4F1FD" class="style4">
                                                行政区划：
                                            </td>
                                            <td width="15%" align="left">
                                                <select name="select5" id="select5">
                                                    <option>-选择-</option>
                                                </select>
                                            </td>
                                        </tr>
                                        <tr bgcolor="#FFFFFF">
                                            <td width="14%" height="25" align="right" bgcolor="#E4F1FD">
                                                <span class="style4">培训日期起：</span>
                                            </td>
                                            <td width="13%">
                                                <asp:TextBox ID="TxtStartDate" Width="90" runat="server"></asp:TextBox>
                                            </td>
                                            <td width="8%" align="right" bgcolor="#E4F1FD">
                                                <span class="style4">止：</span>
                                            </td>
                                            <td width="16%" align="left">
                                                <asp:TextBox ID="TxtEndDate" Width="90" runat="server"></asp:TextBox>
                                            </td>
                                            <td width="9%" height="25" align="right" bgcolor="#E4F1FD">
                                                <span class="style4">是否已培训：</span>
                                            </td>
                                            <td width="14%">
                                                <select name="select" id="select2">
                                                    <option>-选择-</option>
                                                    <option>是</option>
                                                    <option>否</option>
                                                </select>
                                            </td>
                                            <td width="9%" align="right" bgcolor="#ffffff" colspan="2">
                                                <table border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td style="width: 80px;">
                                                            <asp:Button ID="BtnQuery" Text="查询" OnClick="BtnQueryClicked" CssClass="button" runat="server" />
                                                        </td>
                                                        <td style="width: 80px;">
                                                            <input type="button" id="btn" class="button" value="导出">
                                                        </td>
                                                        <td style="width: 80px;">
                                                            <input type="button" id="btn" class="button" value="打印">
                                                        </td>
                                                        <td>
                                                            &nbsp;
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <table width="95%" border="0" cellspacing="0" cellpadding="0">
                                <tr bgcolor="#FFFFFF">
                                    <td height="10" align="right">
                                    </td>
                            </table>
                            <!--查询over-->
                        </td>
                    </tr>
                    <tr>
                        <td align="center" valign="top">
                            <!--详细信息begin-->
                            <asp:UpdatePanel ID="UpdatePanelMain" UpdateMode="Conditional" runat="server">
                                <ContentTemplate>
                                    <div>
                                        <table id="TableHeader" runat="server" width="95%" border="0" cellpadding="0" cellspacing="1"
                                            bgcolor="#66a9ec" style="font-size: 12px;">
                                            <tr>
                                                <td height="24" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    姓名
                                                </td>
                                                <td width="9%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    培训日期
                                                </td>
                                                <td width="21%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    培训地点
                                                </td>
                                                <td width="14%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    教育员
                                                </td>
                                                <td width="17%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    培训原因
                                                </td>
                                                <td width="11%" align="center" bgcolor="#17346e" style="background: url(../images/contentbg2.gif)">
                                                    培训内容
                                                </td>
                                                </tr>
                                        </table>
                                        <asp:GridView ID="GridViewMain" runat="server" Width="95%" AllowSorting="True" AutoGenerateColumns="False"
                                            CssClass="GridViewStyle" DataKeyNames="AQJYTABLE_ID" GridLines="None">
                                            <Columns>
                                                <asp:BoundField HeaderText="姓名" DataField="NAME"></asp:BoundField>
                                                <asp:BoundField HeaderText="培训日期" DataField="PXDATE" />
                                                <asp:BoundField HeaderText="培训地点" DataField="PXADDRESS" />
                                                <asp:BoundField HeaderText="教育员" DataField="JYPERSON" />
                                                <asp:BoundField HeaderText="培训原因" DataField="PXYYNAME" />
                                                <asp:BoundField HeaderText="培训内容" DataField="PXCONTENT" />
                                            </Columns>
                                            <FooterStyle CssClass="FooterStyle" />
                                            <RowStyle CssClass="RowStyle" />
                                            <EmptyDataRowStyle CssClass="EmptyRowStyle" />
                                            <SelectedRowStyle CssClass="SelectedRowStyle" />
                                            <HeaderStyle CssClass="HeaderStyle" />
                                            <EditRowStyle CssClass="EditRowStyle" />
                                            <AlternatingRowStyle CssClass="AltRowStyle" />
                                        </asp:GridView>
                                        <div style="font-size: 11px; width: 95%">
                                            <custom:Pager ID="MainPager" runat="server" OnPageIndexChanged="MainPagerPageIndexChanged" />
                                        </div>
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <!--详细信息over-->
                            <!--信誉档案begin-->
                            <!--信誉档案over-->
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
    </form>
</body>
</html>
